import request from '@/utils/request'
export const queryPage = '/icps/system/sign/goodService/repertoryManage/queryPage'
export const saveOrUpdate = '/icps/system/sign/goodService/repertoryManage/saveOneResord'
/**获取周材名列表*/
export function queryNameList(params) {
  return request({
    url: '/icps/system/sign/goodService/repertoryManage/queryNameList',
    method: 'get',
    params
  })
}
/**:获取规格和类型列表*/
export function querySpecification(data) {
  return request({
    url: '/icps/system/sign/goodService/repertoryManage/querySpecification',
    method: 'post',
    data
  })
}
/**:添加盘点记录*/
export function saveOneResord(data) {
  return request({
    url: '/icps/system/sign/goodService/materialsCheck/saveOneResord',
    method: 'post',
    data
  })
}
/**:获取盘点记录*/
export function queryList(data) {
  return request({
    url: '/icps/system/sign/goodService/materialsCheck/queryList',
    method: 'post',
    data
  })
}
/**:获取盘点记录*/
export function updateOrSave(data) {
  return request({
    url: '/icps/system/sign/goodService/repertoryManage/updateOrSave',
    method: 'post',
    data
  })
}